﻿using System.Text.Json.Serialization;
using Acme.ELeMe.SDK.Request;


namespace Acme.ELeMe.SDK.Response
{
    [JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
    public class SkuListResult
    {
        /// <summary>
        /// 
        /// </summary>
        public int total { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int pages { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int page { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<SkuListItem>? list { get; set; }
    }

    [JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
    public class SkuListItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string? sale_unit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int weight_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<Sku_spec>? sku_spec { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<PhotosItem>? photos { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<Sku_propertyItem>? sku_property { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? production_addr3 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? production_addr1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? production_addr2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int is_in_activity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int preparation_time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int process_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? summary { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<Custom_cat_listItem>? custom_cat_list { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int preminus_weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? upc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long sku_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int sale_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string>? process_detail { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? shelf_number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int upc_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? custom_sku_id { get; set; }
        /// <summary>
        /// 康师傅 香辣牛肉面桶面 108g/桶
        /// </summary>
        public string? name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int market_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? prescription_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int left_num { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? need_ice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int minimum { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? custom_cat_ids { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int sale_step { get; set; }
    }

    public class Custom_cat_listItem
    {
        /// <summary>
        /// 方便面
        /// </summary>
        public string? custom_cat_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? custom_cat_id { get; set; }
    }
}
